Release 10.1A: OpenEdge Deployment:
Startup Command and Parameter Reference
Statistics With Cross-reference (-yx)
Use Statistics with Cross-reference (
-yx) to collect procedure call statistics and write them to an output file.
Operating system
and syntax UNIX Windows-yx Use
with Maximum value Minimum value Single-user default Multi-user default Client Session – – – –
With this parameter, you can monitor information to answer the questions:
Progress places the default output file for the
-yxparameter,proc.mon, in your current working directory. However, you can specify a different output file by using thePROCMONenvironment variable. Simply setPROCMONto point to the file you want to use.For example, in a UNIX environment, if you want to use a file named
statsin the/usr/tmpdirectory, enter the following command on the command line:
Use the
SHOW-STATSstatement to write the procedure call statistics to the output file. TheCLEARoption sets all counters and timers (such as Calls and Time) to 0. When you exit Progress, the-yxparameter writes the procedure call statistics to the output file whether or not you useSHOW-STATS.The following example shows sample procedure call statistics as they appear in the output file:
The fields that appear in the output file
proc.monare as follows:
- Caller — The names of any calling procedures. The word
<top>indicates there was no calling procedure, and you ran the called procedure directly from the Procedure Editor.- Callee — The names of the called procedures.
- Load Size — The size, in bytes, of each called procedure as Progress loads it into memory.
If you see a load size of 0, the called procedure is an uncompiled source procedure (
.pfile), or an r-code file (.rfile) that was previously loaded into memory.- Calls — The number of times the Caller procedure calls the Callee procedure.
- Rd Bytes — Generally, the called procedure’s load size. However, if the procedure is swapped out of memory and later restored, Rd bytes equals the procedure’s Load Size added to the number of bytes read from the
SRTfile. Rd Bytes grows larger each time the procedure is swapped out of memory and restored from theSRTfile.- Reread — The number of bytes Progress reads from the
SRTfile to restore a Caller procedure that was overwritten. Progress restores only what is necessary to continue executing the Caller procedure. In some cases, this is less than the amount swapped to theSRTfile.- Time — The total execution time of the called procedure, in milliseconds.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |